package com.macro.mall.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "订单列表查询-请求报文",value = "订单列表查询-请求报文")
public class QueryOdrOrderReqVO {
    @ApiModelProperty(value = "订单号",position = 1)
    private String orderId;
    @ApiModelProperty(value = "下单手机号",position = 2, example = "18896148379")
    private String mobile;
    @ApiModelProperty(value = "商品sku编码",position = 1)
    private String goodSkuCode;
    @ApiModelProperty(value = "订单状态 000-待支付、001-已取消、002-待服务、003-服务中、004-已完成、005-已退款",required = true,position = 1)
    private String orderStatus;
    @ApiModelProperty(value = "查询开始时间",position = 2, example = "20191212235959")
    private String startTime;
    @ApiModelProperty(value = "查询结束时间",position = 3, example = "20191215235959")
    private String endTime;
    @ApiModelProperty(value = "支付结束时间",position = 3, example = "20191215235959")
    private String payEffect;
    @NotNull(message = "页码不能为空")
    @ApiModelProperty(value = "第几页",required = true,position = 4, example = "1")
    private Integer page;
    @NotNull(message = "每页记录数不能为空")
    @ApiModelProperty(value = "每页记录数",required = true,position = 5, example = "10")
    private Integer rows;
}
